package com.orange.common.binding

import android.widget.TextView
import androidx.databinding.BindingAdapter

object TextViewAdapter {
    @JvmStatic
    @BindingAdapter("android:textColor")
    fun setTextColor(text: TextView, color: String) {
        text.setTextColor(android.graphics.Color.parseColor(color))
    }
}